﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RestaurantList.ascx.cs"
    Inherits="BuXiaChu.OrderDishes.Web.CallCenter.Modules.RestaurantList" %>
<%      foreach (var catId in catList)
        {%>
<ol class="list">
    <li style="background-color: Gray;">
        <%= BuXiaChu.OrderDishes.BLL.CodeDictionary.Instance.GetCodeName(catId)%></li>
    <li>
        <ul>
            <% foreach (var item in pageDataList)
               {
                   if (item.Category == catId)
                   {
            %>
            <li><a href="javascript:;" onclick="orderManager.searchDishes(this,<%=item.Id %>)">
                <%= HttpUtility.HtmlEncode(item.Name)%></a>
                <div id="div_Remarks_<%=item.Id %>" style="display: none">
                    <%= HttpUtility.HtmlEncode(item.Remarks) %></div>
            </li>
            <%
                }
               } 
            %>
        </ul>
    </li>
</ol>
<% } %>
